<template>
  <div>
    <div class="top">
      <van-icon name="arrow-left" @click="$router.go(-1)" />
      <span>优惠券</span>
    </div>
    <hr />
    <div class="order">
      <h4>定金券</h4>
      <p>限时领取,下单支付定金时可用</p>
    </div>
    <div class="content">
      <div class="price">
        <h6>定金优惠券</h6>
        <p>￥9</p>
        <p>满29可用</p>
      </div>
      <div class="packet">
        <p>美悦专享红包</p>
        <p>自领取后2天内有效</p>
      </div>
    </div>
    <div class="content">
      <div class="price">
        <h6>定金优惠券</h6>
        <p>￥9</p>
        <p>满29可用</p>
      </div>
      <div class="packet">
        <p>美悦专享红包</p>
        <p>自领取后2天内有效</p>
      </div>
    </div>
    <div class="content">
      <div class="price">
        <h6>定金优惠券</h6>
        <p>￥9</p>
        <p>满29可用</p>
      </div>
      <div class="packet">
        <p>美悦专享红包</p>
        <p>自领取后2天内有效</p>
      </div>
    </div>
    <div class="content">
      <div class="price">
        <h6>定金优惠券</h6>
        <p>￥9</p>
        <p>满29可用</p>
      </div>
      <div class="packet">
        <p>美悦专享红包</p>
        <p>自领取后2天内有效</p>
      </div>
    </div>
    <div class="content">
      <div class="price">
        <h6>定金优惠券</h6>
        <p>￥9</p>
        <p>满29可用</p>
      </div>
      <div class="packet">
        <p>美悦专享红包</p>
        <p>自领取后2天内有效</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.top span {
  margin-left: 240px;
}
.order {
  height: 100px;
  background: red;
  display: flex;
  h4 {
    width: 200px;
    margin-left: 10px;
    line-height: 100px;
  }
  p {
    font-size: 20px;
    line-height: 100px;
  }
}
.content {
  width: 90%;
  height: 200px;
  display: flex;
  margin: 20px auto;
//   background: blue;
  border-radius: 20px;
  .price {
    width: 230px;
    height: 200px;
    background: yellow;
    border-right: 2px solid #ccc;
    border-radius: 20px 0 0 20px;
    text-align: center;
  }
  .packet {
    font-size: 30px;
    p {
      margin-top: 25px;
    }
  }
}
</style>>
